com.adobe.icc.dbforms.obj
Class Asset

java.lang.Object
  extended by com.adobe.icc.dbforms.obj.Asset
All Implemented Interfaces:
ILocalizable, ILocalizationResourceContainer, java.io.Serializable
Direct Known Subclasses:
ContainerLayout, DataModule, Form, Letter, Portfolio, PortfolioDocument

public abstract class Asset
extends java.lang.Object
implements java.io.Serializable, ILocalizable, ILocalizationResourceContainer

Base class (POJO) for all asset types in the system, like DataModule, Form, Letter, etc.

Contains basic common attributes for an Asset, such as name, description, version, etc.

See Also:
Serialized Form

Field Summary
static java.lang.String ASSET_CLASS
          For internal use.
static java.lang.String ASSOCIATION_CUTPOINT
          For internal use.
static java.lang.String FIRST_LEVEL_CUTPOINT
          For internal use.
static java.lang.String FIRST_LEVEL_WITH_CAT_NAMES_CUTPOINT
          For internal use.
static java.lang.String HIERARCHY_CUTPOINT
          For internal use.
 
Constructor Summary
Asset()
          Default constructor.
 
Method Summary
 java.util.Date getActiveEndDate()
          Deprecated.  
 java.util.Date getActiveStartDate()
          Deprecated.  
 java.lang.String getComment()
          Get the comment for the Asset.
 java.lang.String getCrxVersion()
          Get the crxVersion for the Asset.
 java.lang.String getDesc()
          Get the description for the Asset.
 java.util.Map getExtendedProperties()
          Get the extended properties for the Asset.
 java.lang.String getId()
          Get the unique identifier for the Asset.
 java.lang.String getLastChangeBy()
          Get the user who last changed the Asset.
 java.util.Date getLastPublishDate()
          Get the last publish date of this Asset.
 java.util.Date getLastUpdateDate()
          Get the last update date of this Asset.
 Category getLcat()
          Get the Subcategory for the Asset.
 java.lang.String getLocalizationPrefix()
          The prefix that is appended to all the localizable properties of the this object while generating localization keys
 java.util.List getLocalizationResourceInfoList()
          gets the list containing localization data associated with this object
 java.lang.String getName()
          Get the name for the Asset.
 int getState()
          Get the state for the Asset.
 Category getUcat()
          Get the Category for the Asset.
 int getUpdatedBy()
          Returns who updated this asset.
 int getVersion()
          Deprecated.  
 void setActiveEndDate(java.util.Date activeEndDate)
          Deprecated.  
 void setActiveStartDate(java.util.Date activeStartDate)
          Deprecated.  
 void setComment(java.lang.String comment)
          Sets the comment for the Asset.
 void setCrxVersion(java.lang.String crxVersion)
          Set the crxVersion for the Asset.
 void setDesc(java.lang.String desc)
          Sets the description for the Asset.
 void setExtendedProperties(java.util.Map extendedProperties)
          Sets the extended properties for the Asset.
 void setId(java.lang.String id)
          Sets the unique identifier for the Asset.
 void setLastChangeBy(java.lang.String lastChangeBy)
          Sets the user who last changed the Asset.
 void setLastPublishDate(java.util.Date lastPublishDate)
          Sets the last publish date of this Asset.
 void setLastUpdateDate(java.util.Date lastUpdateDate)
          Sets the last update date of this Asset.
 void setLcat(Category lcat)
          Sets the Subcategory for the Asset.
 void setLocalizationPrefix(java.lang.String prefix)
           
 void setLocalizationResourceInfoList(java.util.List localizationResourceInfoList)
          Sets the list of LocalizationResourceInfo on this object
 void setName(java.lang.String name)
          Sets the name for the Asset.
 void setState(int state)
          Sets the state for the Asset.
 void setUcat(Category ucat)
          Sets the Category for the Asset.
 void setUpdatedBy(int updatedBy)
          Sets value of updatedBy.
 void setVersion(int version)
          Deprecated.  
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ASSET_CLASS

public static final java.lang.String ASSET_CLASS
For internal use.


ASSOCIATION_CUTPOINT

public static final java.lang.String ASSOCIATION_CUTPOINT
For internal use.


FIRST_LEVEL_WITH_CAT_NAMES_CUTPOINT

public static final java.lang.String FIRST_LEVEL_WITH_CAT_NAMES_CUTPOINT
For internal use.


HIERARCHY_CUTPOINT

public static final java.lang.String HIERARCHY_CUTPOINT
For internal use.


FIRST_LEVEL_CUTPOINT

public static final java.lang.String FIRST_LEVEL_CUTPOINT
For internal use.

Constructor Detail

Asset

public Asset()
Default constructor.

Method Detail

setId

public void setId(java.lang.String id)
Sets the unique identifier for the Asset.

Parameters:
id - The unique identifier for the Asset.

getId

public java.lang.String getId()
Get the unique identifier for the Asset.

Returns:
The unique identifier for the Asset.

setLcat

public void setLcat(Category lcat)
Sets the Subcategory for the Asset.

Parameters:
lcat - The Subcategory for the Asset

setUcat

public void setUcat(Category ucat)
Sets the Category for the Asset.

Parameters:
ucat - The Category for the Asset.

getLcat

public Category getLcat()
Get the Subcategory for the Asset.

Returns:
The Subcategory for the Asset.

getUcat

public Category getUcat()
Get the Category for the Asset.

Returns:
The Category for the Asset.

setName

public void setName(java.lang.String name)
Sets the name for the Asset.

Parameters:
name - The name for the Asset.

getName

public java.lang.String getName()
Get the name for the Asset.

Specified by:
getName in interface ILocalizationResourceContainer
Returns:
The name for the Asset.

setDesc

public void setDesc(java.lang.String desc)
Sets the description for the Asset.

Parameters:
desc - The description for the Asset.

getDesc

public java.lang.String getDesc()
Get the description for the Asset.

Returns:
The description for the Asset.

setVersion

public void setVersion(int version)
Deprecated. 

Sets the version for the Asset.

Parameters:
version - The version for the Asset.

getVersion

public int getVersion()
Deprecated. 

Get the version for the Asset.

Returns:
The version for the Asset.

getCrxVersion

public java.lang.String getCrxVersion()
Get the crxVersion for the Asset.

Returns:
the crxVersion.

setCrxVersion

public void setCrxVersion(java.lang.String crxVersion)
Set the crxVersion for the Asset.

Parameters:
crxVersion - the crxVersion to set.

setComment

public void setComment(java.lang.String comment)
Sets the comment for the Asset.

Parameters:
comment - The comment for the Asset.

getComment

public java.lang.String getComment()
Get the comment for the Asset.

Returns:
The comment for the Asset.

setState

public void setState(int state)
Sets the state for the Asset.

Parameters:
state - The state for the Asset.

getState

public int getState()
Get the state for the Asset.

Returns:
The state for the Asset.

getActiveStartDate

public java.util.Date getActiveStartDate()
Deprecated. 

Get the activation start date for the Asset.

Returns:
The activation start date for the Asset.

setActiveStartDate

public void setActiveStartDate(java.util.Date activeStartDate)
Deprecated. 

Sets the activation start date for the Asset.

Parameters:
activeStartDate - The activation start date for the Asset.

getActiveEndDate

public java.util.Date getActiveEndDate()
Deprecated. 

Get the activation end date for the Asset.

Returns:
The activation end date for the Asset.

setActiveEndDate

public void setActiveEndDate(java.util.Date activeEndDate)
Deprecated. 

Sets the activation end date for the Asset.

Parameters:
activeEndDate - The activation end date for the Asset.

getLastUpdateDate

public java.util.Date getLastUpdateDate()
Get the last update date of this Asset.

Returns:
the lastUpdateDate.

setLastUpdateDate

public void setLastUpdateDate(java.util.Date lastUpdateDate)
Sets the last update date of this Asset.

Parameters:
lastUpdateDate - the lastUpdateDate to set.

getLastPublishDate

public java.util.Date getLastPublishDate()
Get the last publish date of this Asset.

Returns:
the lastPublishDate.

setLastPublishDate

public void setLastPublishDate(java.util.Date lastPublishDate)
Sets the last publish date of this Asset.

Parameters:
lastPublishDate - the lastPublishDate to set.

getUpdatedBy

public int getUpdatedBy()
Returns who updated this asset. Following are value values:

Returns:
who updated this asset.

setUpdatedBy

public void setUpdatedBy(int updatedBy)
Sets value of updatedBy.

Parameters:
updatedBy - the updatedBy to set.

getExtendedProperties

public java.util.Map getExtendedProperties()
Get the extended properties for the Asset.

Returns:
The Map of extended properties for the Asset.

setExtendedProperties

public void setExtendedProperties(java.util.Map extendedProperties)
Sets the extended properties for the Asset.

Parameters:
extendedProperties - The Map of extended properties for the Asset.

getLastChangeBy

public java.lang.String getLastChangeBy()
Get the user who last changed the Asset.

Returns:
The user who last changed the Asset.

setLastChangeBy

public void setLastChangeBy(java.lang.String lastChangeBy)
Sets the user who last changed the Asset.

Parameters:
lastChangeBy - The user who last changed the Asset.

getLocalizationPrefix

public java.lang.String getLocalizationPrefix()
The prefix that is appended to all the localizable properties of the this object while generating localization keys

Specified by:
getLocalizationPrefix in interface ILocalizable
Returns:
prefix

setLocalizationPrefix

public void setLocalizationPrefix(java.lang.String prefix)

getLocalizationResourceInfoList

public java.util.List getLocalizationResourceInfoList()
gets the list containing localization data associated with this object

Specified by:
getLocalizationResourceInfoList in interface ILocalizationResourceContainer
Returns:
list containing LocalizationResourceInfo objects

setLocalizationResourceInfoList

public void setLocalizationResourceInfoList(java.util.List localizationResourceInfoList)
Sets the list of LocalizationResourceInfo on this object

Specified by:
setLocalizationResourceInfoList in interface ILocalizationResourceContainer
Parameters:
localizationResourceInfoList - list containing LocalizationResourceInfo objects


[an error occurred while processing this directive] [an error occurred while processing this directive]