|
|||||||||||
| 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.RolePropertiesController
This class is the controller for all handling of extranet roles properties.
| Constructor Summary | |
RolePropertiesController()
|
|
| Method Summary | |
RolePropertiesVO |
create(java.lang.Integer languageId,
java.lang.Integer contentTypeDefinitionId,
RolePropertiesVO rolePropertiesVO)
This method created a new RolePropertiesVO in the database. |
RoleProperties |
create(java.lang.Integer languageId,
java.lang.Integer contentTypeDefinitionId,
RolePropertiesVO rolePropertiesVO,
org.exolab.castor.jdo.Database db)
This method created a new RolePropertiesVO in the database. |
void |
delete(RolePropertiesVO rolePropertiesVO)
|
void |
deleteDigitalAssetRelation(java.lang.Integer rolePropertiesId,
DigitalAsset digitalAsset,
org.exolab.castor.jdo.Database db)
This method deletes the relation to a digital asset - not the asset itself. |
java.lang.String |
getAttributeValue(java.lang.Integer rolePropertiesId,
java.lang.String attributeName,
boolean escapeHTML)
This method fetches a value from the xml that is the roleProperties Value. |
java.lang.String |
getAttributeValue(java.lang.String roleName,
java.lang.Integer languageId,
java.lang.String attributeName)
Returns the value of a Role Property |
java.lang.String |
getAttributeValue(java.lang.String xml,
java.lang.String attributeName,
boolean escapeHTML)
This method fetches a value from the xml that is the roleProperties Value. |
java.util.List |
getContentTypeDefinitionVOList(java.lang.String roleName)
This method fetches all content types available for this role. |
static RolePropertiesController |
getController()
Factory method |
java.util.List |
getDigitalAssetVOList(java.lang.Integer rolePropertiesId)
This method should return a list of those digital assets the contentVersion has. |
BaseEntityVO |
getNewVO()
This is a method that gives the user back an newly initialized ValueObject for this entity that the controller is handling. |
java.util.List |
getRelatedCategories(java.lang.String roleName,
java.lang.Integer languageId,
java.lang.String attribute)
Returns all current Category relationships for th specified attribute name |
java.util.List |
getRelatedContents(java.lang.String roleName,
java.lang.Integer languageId,
java.lang.String attributeName)
Returns the related Contents |
java.util.List |
getRelatedSiteNodes(java.lang.String roleName,
java.lang.Integer languageId,
java.lang.String attributeName)
Returns the related SiteNodes |
java.util.List |
getRoleContentTypeDefinitionList(java.lang.String roleName,
org.exolab.castor.jdo.Database db)
This method fetches all role content types available for this role within a transaction. |
java.util.List |
getRolePropertiesList(java.lang.String roleName,
java.lang.Integer languageId,
org.exolab.castor.jdo.Database db)
This method gets a list of roleProperties for a role The result is a list of propertiesblobs - each propertyblob is a list of actual properties. |
RoleProperties |
getRolePropertiesWithId(java.lang.Integer rolePropertiesId,
org.exolab.castor.jdo.Database db)
|
java.util.List |
getRolePropertiesVOList()
|
java.util.List |
getRolePropertiesVOList(java.lang.String roleName,
java.lang.Integer languageId)
This method gets a list of roleProperties for a role The result is a list of propertiesblobs - each propertyblob is a list of actual properties. |
RolePropertiesVO |
getRolePropertiesVOWithId(java.lang.Integer rolePropertiesId)
|
RolePropertiesVO |
update(java.lang.Integer languageId,
java.lang.Integer contentTypeDefinitionId,
RolePropertiesVO rolePropertiesVO)
This method updates an extranet role properties. |
RolePropertiesVO |
update(RolePropertiesVO rolePropertiesVO,
java.lang.String[] extranetUsers)
|
void |
updateAttributeValue(java.lang.Integer rolePropertiesId,
java.lang.String attributeName,
java.lang.String attributeValue)
This method fetches a value from the xml that is the roleProperties Value. |
void |
updateContentTypeDefinitions(java.lang.String roleName,
java.lang.String[] contentTypeDefinitionIds)
This method fetches all content types available for this role. |
| 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 |
| Constructor Detail |
public RolePropertiesController()
| Method Detail |
public static RolePropertiesController getController()
public RoleProperties getRolePropertiesWithId(java.lang.Integer rolePropertiesId,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public RolePropertiesVO getRolePropertiesVOWithId(java.lang.Integer rolePropertiesId)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getRolePropertiesVOList()
throws SystemException,
Bug
SystemException
Bug
public RolePropertiesVO create(java.lang.Integer languageId,
java.lang.Integer contentTypeDefinitionId,
RolePropertiesVO rolePropertiesVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public RoleProperties create(java.lang.Integer languageId,
java.lang.Integer contentTypeDefinitionId,
RolePropertiesVO rolePropertiesVO,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public RolePropertiesVO update(java.lang.Integer languageId,
java.lang.Integer contentTypeDefinitionId,
RolePropertiesVO rolePropertiesVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public RolePropertiesVO update(RolePropertiesVO rolePropertiesVO,
java.lang.String[] extranetUsers)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getRolePropertiesVOList(java.lang.String roleName,
java.lang.Integer languageId)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getRolePropertiesList(java.lang.String roleName,
java.lang.Integer languageId,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void delete(RolePropertiesVO rolePropertiesVO)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getDigitalAssetVOList(java.lang.Integer rolePropertiesId)
throws SystemException,
Bug
SystemException
Bug
public void deleteDigitalAssetRelation(java.lang.Integer rolePropertiesId,
DigitalAsset digitalAsset,
org.exolab.castor.jdo.Database db)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getContentTypeDefinitionVOList(java.lang.String roleName)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public java.util.List getRoleContentTypeDefinitionList(java.lang.String roleName,
org.exolab.castor.jdo.Database db)
throws ConstraintException,
SystemException,
java.lang.Exception
ConstraintException
SystemException
java.lang.Exception
public void updateContentTypeDefinitions(java.lang.String roleName,
java.lang.String[] contentTypeDefinitionIds)
throws ConstraintException,
SystemException
ConstraintException
SystemException
public void updateAttributeValue(java.lang.Integer rolePropertiesId,
java.lang.String attributeName,
java.lang.String attributeValue)
throws SystemException,
Bug
SystemException
Bug
public java.lang.String getAttributeValue(java.lang.String roleName,
java.lang.Integer languageId,
java.lang.String attributeName)
throws SystemException
SystemException
public java.lang.String getAttributeValue(java.lang.Integer rolePropertiesId,
java.lang.String attributeName,
boolean escapeHTML)
throws SystemException,
Bug
SystemException
Bug
public java.lang.String getAttributeValue(java.lang.String xml,
java.lang.String attributeName,
boolean escapeHTML)
throws SystemException,
Bug
SystemException
Bug
public java.util.List getRelatedContents(java.lang.String roleName,
java.lang.Integer languageId,
java.lang.String attributeName)
throws SystemException
SystemException
public java.util.List getRelatedSiteNodes(java.lang.String roleName,
java.lang.Integer languageId,
java.lang.String attributeName)
throws SystemException
SystemException
public java.util.List getRelatedCategories(java.lang.String roleName,
java.lang.Integer languageId,
java.lang.String attribute)
attribute -
public BaseEntityVO getNewVO()
getNewVO in class BaseController
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||