com.arsdigita.cms
Class UserHomeFolderMap
java.lang.Object
com.arsdigita.domain.DomainObject
com.arsdigita.domain.ObservableDomainObject
com.arsdigita.kernel.ACSObject
com.arsdigita.cms.UserHomeFolderMap
- public class UserHomeFolderMap
- extends com.arsdigita.kernel.ACSObject
Fields inherited from class com.arsdigita.kernel.ACSObject |
CONTAINER, DEFAULT_DOMAIN_CLASS, DISPLAY_NAME, ID, OBJECT_TYPE, versionId |
Constructor Summary |
UserHomeFolderMap()
|
UserHomeFolderMap(com.arsdigita.persistence.DataObject dataObj)
|
UserHomeFolderMap(com.arsdigita.persistence.metadata.ObjectType type)
Constructor in which the contained DataObject is
initialized with a new DataObject with an
ObjectType specified by type. |
UserHomeFolderMap(com.arsdigita.persistence.OID oid)
Constructor in which the contained DataObject is retrieved
from the persistent storage mechanism using the
specified OID. |
UserHomeFolderMap(String typeName)
Constructor in which the contained DataObject is
initialized with a new DataObject with an
ObjectType specified by the string
typeName. |
Methods inherited from class com.arsdigita.kernel.ACSObject |
assertPrivilege, beforeSave, checkPrivilege, doCreateCheck, doWriteCheck, getContainer, getDefaultDomainClass, getDisplayName, getID, getSpecificObjectType, getSpecificOID, gimmeContainer, initialize, isContainerModified, setID, setID |
Methods inherited from class com.arsdigita.domain.ObservableDomainObject |
addObserver, getObservers |
Methods inherited from class com.arsdigita.domain.DomainObject |
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, isDeleted, isDisconnected, isModified, isNew, isPropertyModified, isValid, remove, remove, remove, removeFromAssociation, save, set, setAssociation, setAssociation, specializeDataObject, specializeDataObject, toString |
BASE_DATA_OBJECT_TYPE
public static final String BASE_DATA_OBJECT_TYPE
- See Also:
- Constant Field Values
USER_ID
public static final String USER_ID
- See Also:
- Constant Field Values
SECTION_ID
public static final String SECTION_ID
- See Also:
- Constant Field Values
HOME_FOLDER
public static final String HOME_FOLDER
- See Also:
- Constant Field Values
HOME_SECTION
public static final String HOME_SECTION
- See Also:
- Constant Field Values
HOME_FOLDER_USER
public static final String HOME_FOLDER_USER
- See Also:
- Constant Field Values
UserHomeFolderMap
public UserHomeFolderMap(com.arsdigita.persistence.DataObject dataObj)
UserHomeFolderMap
public UserHomeFolderMap()
UserHomeFolderMap
public UserHomeFolderMap(String typeName)
- Constructor in which the contained
DataObject
is
initialized with a new DataObject
with an
ObjectType
specified by the string
typeName.
- Parameters:
typeName
- the name of the ObjectType
of the
contained DataObject
- See Also:
ObservableDomainObject.ObservableDomainObject(String)
,
DataObject
,
ObjectType
UserHomeFolderMap
public UserHomeFolderMap(com.arsdigita.persistence.metadata.ObjectType type)
- Constructor in which the contained
DataObject
is
initialized with a new DataObject
with an
ObjectType
specified by type.
- Parameters:
type
- the ObjectType
of the contained
DataObject
- See Also:
ObservableDomainObject.ObservableDomainObject(ObjectType)
,
DataObject
,
ObjectType
UserHomeFolderMap
public UserHomeFolderMap(com.arsdigita.persistence.OID oid)
throws com.arsdigita.domain.DataObjectNotFoundException
- Constructor in which the contained
DataObject
is retrieved
from the persistent storage mechanism using the
specified OID.
- Parameters:
oid
- the OID for the retrieved
DataObject
- See Also:
ObservableDomainObject.ObservableDomainObject(OID)
,
DataObject
,
OID
getBaseDataObjectType
protected String getBaseDataObjectType()
getUserID
public BigDecimal getUserID()
setUserID
public void setUserID(BigDecimal userID)
getSectionID
public BigDecimal getSectionID()
setSectionID
public void setSectionID(BigDecimal sectionID)
getHomeFolder
public Folder getHomeFolder()
setHomeFolder
public void setHomeFolder(Folder folder)
getHomeSection
public ContentSection getHomeSection()
setHomeSection
public void setHomeSection(ContentSection section)
getHomeFolderUser
public com.arsdigita.kernel.User getHomeFolderUser()
setHomeFolderUser
public void setHomeFolderUser(com.arsdigita.kernel.User user)
findUserHomeFolderMap
public static UserHomeFolderMap findUserHomeFolderMap(com.arsdigita.kernel.User user,
ContentSection section)
findOrCreateUserHomeFolderMap
public static UserHomeFolderMap findOrCreateUserHomeFolderMap(com.arsdigita.kernel.User user,
ContentSection section)
Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 21 2004:2352 UTC