|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.infoglue.cms.controllers.kernel.impl.simple.BaseController
|
+--org.infoglue.cms.controllers.kernel.impl.simple.ContentTypeDefinitionController
| Field Summary | |
static java.lang.String |
ASSET_KEYS
|
static java.lang.String |
CATEGORY_KEYS
|
| Constructor Summary | |
ContentTypeDefinitionController()
|
|
| Method Summary | |
ContentTypeDefinitionVO |
create(ContentTypeDefinitionVO contentTypeDefinitionVO)
|
void |
delete(ContentTypeDefinitionVO contentTypeDefinitionVO)
|
java.util.List |
getAuthorizedContentTypeDefinitionVOList(InfoGluePrincipal infoGluePrincipal)
This method can be used by actions and use-case-controllers that only need to have simple access to the functionality. |
java.util.List |
getContentTypeAttributes(java.lang.String schemaValue)
This method returns the attributes in the content type definition for generation. |
ContentTypeDefinition |
getContentTypeDefinitionWithId(java.lang.Integer contentTypeDefinitionId,
org.exolab.castor.jdo.Database db)
|
ContentTypeDefinition |
getContentTypeDefinitionWithName(java.lang.String name,
org.exolab.castor.jdo.Database db)
Returns the Content Type Definition with the given name fetched within a given transaction. |
java.util.List |
getContentTypeDefinitionVOList()
|
java.util.List |
getContentTypeDefinitionVOList(org.exolab.castor.jdo.Database db)
|
java.util.List |
getContentTypeDefinitionVOList(java.lang.Integer type)
|
java.util.List |
getContentTypeDefinitionVOList(java.lang.Integer type,
org.exolab.castor.jdo.Database db)
|
ContentTypeDefinitionVO |
getContentTypeDefinitionVOWithId(java.lang.Integer contentTypeDefinitionId)
|
ContentTypeDefinitionVO |
getContentTypeDefinitionVOWithName(java.lang.String name)
Returns the Content Type Definition with the given name. |
static ContentTypeDefinitionController |
getController()
Factory method |
AssetKeyDefinition |
getDefinedAssetKey(java.lang.String contentTypeDefinitionString,
java.lang.String assetKey)
This method fetches a predefined assetKeys from a xml-string representing a contentTypeDefinition. |
java.util.List |
getDefinedAssetKeys(java.lang.String contentTypeDefinitionString)
This method fetches any predefined assetKeys from a xml-string representing a contentTypeDefinition. |
java.util.List |
getDefinedCategoryKeys(java.lang.String contentTypeDefinitionString)
This method fetches any predefined categoryKeys from a xml-string representing a contentTypeDefinition. |
boolean |
getIsAccessApproved(java.lang.Integer contentTypeDefinitionId,
InfoGluePrincipal infoGluePrincipal)
This method returns true if the user should have access to the contentTypeDefinition sent in. |
BaseEntityVO |
getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling. |
java.lang.String |
insertContentTypeAttribute(java.lang.String schemaValue,
java.lang.String inputTypeId)
This method adds a new content type attribute to the contentTypeDefinition. |
ContentTypeDefinitionVO |
update(ContentTypeDefinitionVO contentTypeDefinitionVO)
|
ContentTypeDefinitionVO |
validateAndUpdateContentType(ContentTypeDefinitionVO contentTypeDefinitionVO)
This method validates the current content type and updates it to be valid in the future. |
| Methods inherited from class org.infoglue.cms.controllers.kernel.impl.simple.BaseController |
deleteEntity, deleteEntity, deleteEntity, getAllVOObjects, getAllVOObjects, getAllVOObjects, getAllVOObjects, getVOWithId, getVOWithId, getVOWithId, toModifiableVOList, toVOList, updateEntity, updateEntity, updateEntity, validateEntity |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String ASSET_KEYS
public static final java.lang.String CATEGORY_KEYS
| Constructor Detail |
public ContentTypeDefinitionController()
| Method Detail |
public static ContentTypeDefinitionController getController()
public ContentTypeDefinitionVO getContentTypeDefinitionVOWithId(java.lang.Integer contentTypeDefinitionId)
throws SystemException,
Bug
SystemException
Bug
public ContentTypeDefinition getContentTypeDefinitionWithId(java.lang.Integer contentTypeDefinitionId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getContentTypeDefinitionVOList()
throws SystemException,
Bug
SystemException
Bug
public java.util.List getContentTypeDefinitionVOList(org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getAuthorizedContentTypeDefinitionVOList(InfoGluePrincipal infoGluePrincipal)
throws ConstraintException,
SystemException,
Bug
ConstraintException
SystemException
Bug
public boolean getIsAccessApproved(java.lang.Integer contentTypeDefinitionId,
InfoGluePrincipal infoGluePrincipal)
throws SystemException
SystemException
public ContentTypeDefinitionVO getContentTypeDefinitionVOWithName(java.lang.String name)
throws SystemException,
Bug
name -
SystemException
Bug
public ContentTypeDefinition getContentTypeDefinitionWithName(java.lang.String name,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
name - db -
SystemException
Bug
public java.util.List getContentTypeDefinitionVOList(java.lang.Integer type)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getContentTypeDefinitionVOList(java.lang.Integer type,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public ContentTypeDefinitionVO create(ContentTypeDefinitionVO contentTypeDefinitionVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void delete(ContentTypeDefinitionVO contentTypeDefinitionVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public ContentTypeDefinitionVO update(ContentTypeDefinitionVO contentTypeDefinitionVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public AssetKeyDefinition getDefinedAssetKey(java.lang.String contentTypeDefinitionString,
java.lang.String assetKey)
public java.util.List getDefinedAssetKeys(java.lang.String contentTypeDefinitionString)
public java.util.List getDefinedCategoryKeys(java.lang.String contentTypeDefinitionString)
public java.util.List getContentTypeAttributes(java.lang.String schemaValue)
public java.lang.String insertContentTypeAttribute(java.lang.String schemaValue,
java.lang.String inputTypeId)
public ContentTypeDefinitionVO validateAndUpdateContentType(ContentTypeDefinitionVO contentTypeDefinitionVO)
public BaseEntityVO getNewVO()
getNewVO in class BaseController
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||