com.arsdigita.cms
Class UserHomeFolderMap

java.lang.Object
  extended bycom.arsdigita.domain.DomainObject
      extended bycom.arsdigita.domain.ObservableDomainObject
          extended bycom.arsdigita.kernel.ACSObject
              extended bycom.arsdigita.cms.UserHomeFolderMap

public class UserHomeFolderMap
extends com.arsdigita.kernel.ACSObject


Field Summary
static String BASE_DATA_OBJECT_TYPE
           
static String HOME_FOLDER
           
static String HOME_FOLDER_USER
           
static String HOME_SECTION
           
static String SECTION_ID
           
static String USER_ID
           
 
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.
 
Method Summary
static UserHomeFolderMap findOrCreateUserHomeFolderMap(com.arsdigita.kernel.User user, ContentSection section)
           
static UserHomeFolderMap findUserHomeFolderMap(com.arsdigita.kernel.User user, ContentSection section)
           
protected  String getBaseDataObjectType()
           
 Folder getHomeFolder()
           
 com.arsdigita.kernel.User getHomeFolderUser()
           
 ContentSection getHomeSection()
           
 BigDecimal getSectionID()
           
 BigDecimal getUserID()
           
 void setHomeFolder(Folder folder)
           
 void setHomeFolderUser(com.arsdigita.kernel.User user)
           
 void setHomeSection(ContentSection section)
           
 void setSectionID(BigDecimal sectionID)
           
 void setUserID(BigDecimal userID)
           
 
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

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
Method Detail

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