|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.domain.DomainObject
com.arsdigita.kernel.ResourceType
com.arsdigita.web.ApplicationType
The persistent type information of an Application.
Application
,
ApplicationTypeCollection
Field Summary | |
static String |
BASE_DATA_OBJECT_TYPE
|
static String |
versionId
|
Fields inherited from class com.arsdigita.kernel.ResourceType |
s_defaultConfig |
Constructor Summary | |
|
ApplicationType(DataObject dataObject)
|
protected |
ApplicationType(String dataObjectType)
|
protected |
ApplicationType(String dataObjectType,
PackageType packageType,
String title,
String applicationObjectType)
Creates a legacy-compatible application type. |
|
ApplicationType(String title,
String applicationObjectType)
Creates a new application type. |
protected |
ApplicationType(String objectType,
String title,
String applicationObjectType)
|
protected |
ApplicationType(String dataObjectType,
String key,
String title,
String applicationObjectType)
Creates a legacy-compatible application type. |
Method Summary | |
void |
addRelevantPrivilege(PrivilegeDescriptor privilege)
Add an entry to the list of relevant privileges for this ApplicationType. |
void |
addRelevantPrivilege(String privilegeName)
Add an entry to the list of relevant privileges for this ApplicationType. |
void |
addStylesheet(Stylesheet stylesheet)
Deprecated. with no replacement. |
static ApplicationType |
createApplicationType(PackageType packageType,
String title,
String applicationObjectType)
Creates a legacy-compatible application type using the passed in package type. |
static ApplicationType |
createApplicationType(String key,
String title,
String applicationObjectType)
Creates a legacy-compatible application type. |
String |
getApplicationObjectType()
|
protected String |
getBaseDataObjectType()
Returns the base data object type for this domain object class. |
String |
getDescription()
|
BigDecimal |
getID()
Gets the value of the ID property. |
PackageType |
getPackageType()
|
String |
getProfile()
|
Collection |
getRelevantPrivileges()
Get the list of relevant privileges for this ApplicationType. |
String |
getStylesheet()
|
String |
getTitle()
|
boolean |
hasEmbeddedView()
|
boolean |
hasFullPageView()
|
boolean |
isSingleton()
Tell whether this ApplicationType is a singleton. |
boolean |
isWorkspaceApplication()
|
void |
removeRelevantPrivilege(PrivilegeDescriptor privilege)
Remove an entry from the list of relevant privileges for this ApplicationType. |
void |
removeRelevantPrivilege(String privilegeName)
Remove an entry from the list of relevant privileges for this ApplicationType. |
static ApplicationTypeCollection |
retrieveAllApplicationTypes()
|
static ApplicationType |
retrieveApplicationType(BigDecimal id)
|
static ApplicationType |
retrieveApplicationType(DataObject dataObject)
|
static ApplicationType |
retrieveApplicationType(OID oid)
|
static ApplicationType |
retrieveApplicationTypeForApplication(String applicationObjectType)
|
protected void |
setApplicationObjectType(String objectType)
|
void |
setDescription(String description)
|
void |
setDispatcherClass(String className)
Deprecated. with no replacement. |
protected void |
setEmbeddedView(boolean hasEmbeddedView)
Deprecated. with no replacement. |
protected void |
setFullPageView(boolean hasFullPageView)
Deprecated. with no replacement. |
protected void |
setPackageType(PackageType packageType)
Deprecated. with no replacement. |
protected void |
setProfile(String profile)
|
void |
setSingleton(boolean isSingleton)
Deprecated. with no replacement. |
void |
setTitle(String title)
|
void |
setWorkspaceApplication(boolean isWorkspaceApplication)
Deprecated. with no replacement. |
Methods inherited from class com.arsdigita.kernel.ResourceType |
createResourceType, getConfig, getConfigs, getCreateComponent, getCreateFormSection, getModifyComponent, getModifyFormSection, getResourceObjectType, hasConfig, isInstalled, registerResourceTypeConfig, retrieveAllResourceTypes, retrieveResourceType, retrieveResourceType, retrieveResourceType, retrieveResourceTypeForResource, setResourceObjectType |
Methods inherited from class com.arsdigita.domain.DomainObject |
add, add, addToAssociation, afterDelete, afterSave, beforeDelete, beforeSave, clear, delete, disconnect, equals, get, getObjectType, getOID, getSession, hashCode, initialize, 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 |
public static final String versionId
public static final String BASE_DATA_OBJECT_TYPE
Constructor Detail |
public ApplicationType(DataObject dataObject)
protected ApplicationType(String dataObjectType)
protected ApplicationType(String objectType, String title, String applicationObjectType)
public ApplicationType(String title, String applicationObjectType)
protected ApplicationType(String dataObjectType, PackageType packageType, String title, String applicationObjectType)
protected ApplicationType(String dataObjectType, String key, String title, String applicationObjectType)
Method Detail |
protected String getBaseDataObjectType()
DomainObject
getBaseDataObjectType
in class ResourceType
public static ApplicationType createApplicationType(PackageType packageType, String title, String applicationObjectType)
public static ApplicationType createApplicationType(String key, String title, String applicationObjectType)
public static ApplicationType retrieveApplicationType(BigDecimal id)
public static ApplicationType retrieveApplicationType(OID oid)
public static ApplicationType retrieveApplicationType(DataObject dataObject)
public static ApplicationType retrieveApplicationTypeForApplication(String applicationObjectType)
public static ApplicationTypeCollection retrieveAllApplicationTypes()
public PackageType getPackageType()
protected void setPackageType(PackageType packageType)
UnsupportedOperationException
- when this method is
called for an application type without a corresponding package
type.public void addStylesheet(Stylesheet stylesheet)
UnsupportedOperationException
- when this method is
called for an application type without a corresponding package
type.public void setDispatcherClass(String className)
UnsupportedOperationException
- when this method is
called for an application type without a corresponding package
type.public String getTitle()
getTitle
in class ResourceType
public void setTitle(String title)
setTitle
in class ResourceType
public String getDescription()
getDescription
in class ResourceType
public void setDescription(String description)
setDescription
in class ResourceType
public boolean isWorkspaceApplication()
public void setWorkspaceApplication(boolean isWorkspaceApplication)
UnsupportedOperationException
- when this method is
called for an application type without a corresponding package
type.public boolean hasFullPageView()
protected void setFullPageView(boolean hasFullPageView)
UnsupportedOperationException
- when this method is
called for an application type without a corresponding package
type.public boolean hasEmbeddedView()
protected void setEmbeddedView(boolean hasEmbeddedView)
UnsupportedOperationException
- when this method is
called for an application type without a corresponding package
type.public String getProfile()
protected void setProfile(String profile)
public Collection getRelevantPrivileges()
Get the list of relevant privileges for this ApplicationType.
getRelevantPrivileges
in class ResourceType
PrivilegeDescriptors
public void addRelevantPrivilege(PrivilegeDescriptor privilege)
Add an entry to the list of relevant privileges for this ApplicationType.
addRelevantPrivilege
in class ResourceType
public void addRelevantPrivilege(String privilegeName)
Add an entry to the list of relevant privileges for this ApplicationType.
addRelevantPrivilege
in class ResourceType
public void removeRelevantPrivilege(PrivilegeDescriptor privilege)
Remove an entry from the list of relevant privileges for this ApplicationType.
removeRelevantPrivilege
in class ResourceType
public void removeRelevantPrivilege(String privilegeName)
Remove an entry from the list of relevant privileges for this ApplicationType.
removeRelevantPrivilege
in class ResourceType
public String getApplicationObjectType()
protected void setApplicationObjectType(String objectType)
public void setSingleton(boolean isSingleton)
UnsupportedOperationException
- when this method is
called for an application type without a corresponding package
type.public boolean isSingleton()
public BigDecimal getID()
getID
in class ResourceType
public String getStylesheet()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |