public abstract class Asset extends Object implements Serializable, ILocalizable, ILocalizationResourceContainer
DataModule
, TextModule
, ListDataModule
, etc.
Modifier | Constructor and Description |
---|---|
|
Asset()
Default constructor.
|
protected |
Asset(String name,
String desc,
int version,
String comment,
int state,
Date activeStartDate,
Date activeEndDate,
String lastChangeBy) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getActiveEndDate()
Deprecated.
|
Date |
getActiveStartDate()
Deprecated.
|
String |
getComment()
Get the comment for the Asset.
|
String |
getCrxVersion()
Get the crxVersion for the Asset.
|
String |
getDesc()
Get the description for the Asset.
|
String |
getDisplayField()
Get the Display Name of an asset if title is null then name will be displayed.
|
Map<String,Object> |
getExtendedProperties()
Get the extended properties for the Asset.
|
String |
getFolderId()
Get the parent folder location for the Asset.
|
String |
getId()
Get the unique identifier for the Asset.
|
String |
getLastChangeBy()
Get the user who last changed the Asset.
|
Date |
getLastPublishDate()
Get the last publish date of this Asset.
|
String |
getLastPublishedBy()
Get the user who last published the Asset.
|
String |
getLastReplicationAction() |
Date |
getLastUpdateDate()
Get the last update date of this Asset.
|
Calendar |
getLastVersionDate() |
com.adobe.icc.dbforms.obj.Category |
getLcat()
Get the Subcategory for the Asset.
|
String |
getLocalizationPrefix()
The prefix that is appended to all the localizable properties of the this object while generating localization keys
|
List<LocalizationResourceInfo> |
getLocalizationResourceInfoList()
gets the list containing localization data associated with this object
|
String |
getName()
Get the name for the Asset.
|
int |
getState()
Get the state for the Asset.
|
String[] |
getTags() |
String |
getTitle()
Get the title for the Asset.
|
Map<String,Object> |
getTransientProperties() |
com.adobe.icc.dbforms.obj.Category |
getUcat()
Get the Category for the Asset.
|
int |
getUpdatedBy() |
int |
getVersion()
Get the version for the Asset.
|
int |
hashCode() |
void |
setActiveEndDate(Date activeEndDate)
Deprecated.
|
void |
setActiveStartDate(Date activeStartDate)
Deprecated.
|
void |
setComment(String comment)
Sets the comment for the Asset.
|
void |
setCrxVersion(String crxVersion)
Set the crxVersion for the Asset.
|
void |
setDesc(String desc)
Sets the description for the Asset.
|
void |
setExtendedProperties(Map<String,Object> extendedProperties)
Sets the extended properties for the Asset.
|
void |
setFolderId(String folderId)
Sets the parent folder location for the Asset.
|
void |
setId(String id)
Sets the unique identifier for the Asset.
|
void |
setLastChangeBy(String lastChangeBy)
Sets the user who last changed the Asset.
|
void |
setLastPublishDate(Date lastPublishDate)
Sets the last publish date of this Asset.
|
void |
setLastPublishedBy(String lastPublishedBy)
Sets the user who last published the Asset.
|
void |
setLastReplicationAction(String lastReplicationAction) |
void |
setLastUpdateDate(Date lastUpdateDate)
Sets the last update date of this Asset.
|
void |
setLastVersionDate(Calendar lastVersionDate) |
void |
setLcat(com.adobe.icc.dbforms.obj.Category lcat)
Sets the Subcategory for the Asset.
|
void |
setLocalizationPrefix(String prefix) |
void |
setLocalizationResourceInfoList(List<LocalizationResourceInfo> localizationResourceInfoList)
Sets the list of
LocalizationResourceInfo on this object |
void |
setName(String name)
Sets the name for the Asset.
|
void |
setState(int state)
Sets the state for the Asset.
|
void |
setTags(String[] tags) |
void |
setTitle(String title)
Sets the title for the Asset.
|
void |
setTransientProperties(Map<String,Object> transientProperties) |
void |
setUcat(com.adobe.icc.dbforms.obj.Category ucat)
Sets the Category for the Asset.
|
void |
setUpdatedBy(int updatedBy) |
void |
setVersion(int version)
Sets the version for the Asset.
|
protected String id
protected String folderId
public static final String ASSET_CLASS
public static final String ASSOCIATION_CUTPOINT
public static final String FIRST_LEVEL_WITH_CAT_NAMES_CUTPOINT
public static final String HIERARCHY_CUTPOINT
public static final String FIRST_LEVEL_CUTPOINT
public static final String READY_TO_PUBLISH_CUTPOINT
public static final String PROPERTY_NAME_DESCRIPTION
public static final String PROPERTY_NAME_TITLE
public static final String PROPERTY_NAME_VERSION
protected String name
protected String title
protected String desc
protected int version
protected String crxVersion
protected Calendar lastVersionDate
protected String comment
protected int state
protected Date activeStartDate
protected Date activeEndDate
protected Date lastUpdateDate
protected Date lastPublishDate
protected String lastReplicationAction
protected String lastPublishedBy
protected int updatedBy
protected String lastChangeBy
protected com.adobe.icc.dbforms.obj.Category ucat
protected com.adobe.icc.dbforms.obj.Category lcat
protected String[] tags
public void setId(String id)
id
- The unique identifier for the Asset.public String getId()
public void setLcat(com.adobe.icc.dbforms.obj.Category lcat)
lcat
- The Subcategory for the Assetpublic void setUcat(com.adobe.icc.dbforms.obj.Category ucat)
ucat
- The Category for the Asset.public com.adobe.icc.dbforms.obj.Category getLcat()
public com.adobe.icc.dbforms.obj.Category getUcat()
public void setName(String name)
name
- The name for the Asset.public String getName()
getName
in interface ILocalizationResourceContainer
public void setTitle(String title)
title
- The title for the Asset.public String getTitle()
public String getDisplayField()
public void setDesc(String desc)
desc
- The description for the Asset.public String getDesc()
public void setVersion(int version)
version
- The version for the Asset.public int getVersion()
public String getCrxVersion()
public void setCrxVersion(String crxVersion)
crxVersion
- the crxVersion to set.public void setComment(String comment)
comment
- The comment for the Asset.public String getComment()
public void setState(int state)
state
- The state for the Asset.public int getState()
public Date getActiveStartDate()
public void setActiveStartDate(Date activeStartDate)
activeStartDate
- The activation start date for the Asset.public Date getActiveEndDate()
public void setActiveEndDate(Date activeEndDate)
activeEndDate
- The activation end date for the Asset.public Date getLastUpdateDate()
public void setLastUpdateDate(Date lastUpdateDate)
lastUpdateDate
- the lastUpdateDate to set.public Date getLastPublishDate()
public void setLastPublishDate(Date lastPublishDate)
lastPublishDate
- the lastPublishDate to set.public int getUpdatedBy()
public void setUpdatedBy(int updatedBy)
public Map<String,Object> getExtendedProperties()
Map
of extended properties for the Asset.public void setExtendedProperties(Map<String,Object> extendedProperties)
extendedProperties
- The Map
of extended properties for the Asset.public String getLastChangeBy()
public void setLastChangeBy(String lastChangeBy)
lastChangeBy
- The user who last changed the Asset.public String getLocalizationPrefix()
getLocalizationPrefix
in interface ILocalizable
public void setLocalizationPrefix(String prefix)
public List<LocalizationResourceInfo> getLocalizationResourceInfoList()
getLocalizationResourceInfoList
in interface ILocalizationResourceContainer
LocalizationResourceInfo
objectspublic void setLocalizationResourceInfoList(List<LocalizationResourceInfo> localizationResourceInfoList)
LocalizationResourceInfo
on this objectsetLocalizationResourceInfoList
in interface ILocalizationResourceContainer
localizationResourceInfoList
- list containing LocalizationResourceInfo
objectspublic Map<String,Object> getTransientProperties()
public String[] getTags()
public void setTags(String[] tags)
public String getLastReplicationAction()
public void setLastReplicationAction(String lastReplicationAction)
public Calendar getLastVersionDate()
public void setLastVersionDate(Calendar lastVersionDate)
public void setFolderId(String folderId)
folderId
- The parent folder location for the Asset.public String getFolderId()
public String getLastPublishedBy()
public void setLastPublishedBy(String lastPublishedBy)
lastPublishedBy
- The user who last published the Asset.Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.