|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgran.app.adapter.external.category.BaseSecuredCategoryAdapter
Constructor Summary | |
BaseSecuredCategoryAdapter()
|
Method Summary | |
void |
addRelatedCategoryImpl(SessionContext sc,
java.lang.String parentCategoryId,
java.lang.String related)
|
boolean |
canChangeWorkflowImpl(SessionContext sc,
java.lang.String categoryId,
boolean result)
Returns true if can change Workflow. |
java.lang.String |
createCategoryImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String name,
java.lang.String workflowId,
boolean handlerRequired,
boolean groupHandlerAllowed,
java.lang.String result)
Create new Category. |
void |
deleteCategoryImpl(SessionContext sc,
java.lang.String categoryId)
Deletes specified Category. |
void |
editCategoryImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String workflowId)
Updates specified Category. |
java.util.List |
getAvailableCategoryListImpl(SessionContext sc,
java.lang.String taskId,
java.util.List result)
Returns available Category list for specified Task. |
java.util.List |
getCategoryRuleListImpl(SessionContext sc,
java.lang.String prstatusId,
java.lang.String categoryId,
java.util.List result)
Returns list of rules for specified Category and Prstatus Available via SOAP. |
java.util.List |
getChildrenCategoryListImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String taskId,
java.util.List result)
Returns available Categories for specified Category. |
java.util.List |
getCreatableCategoryListImpl(SessionContext sc,
java.lang.String taskId,
java.util.List result)
Get list of categories, that some user can create. |
java.lang.String |
getDescription()
Get description of adapter as plain text |
java.lang.String |
getTemplateImpl(SessionContext sc,
java.lang.String categoryId)
|
boolean |
init()
Initialize adapter. |
boolean |
isCategoryCanBeHandlerImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
|
boolean |
isCategoryDeletableImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
Returns true if can delete category Available via SOAP. |
boolean |
isCategoryEditableImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
Returns true if can edit category Available via SOAP. |
boolean |
isCategoryViewableImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
|
void |
removeRelatedCategoryImpl(SessionContext sc,
java.lang.String parentCategoryId,
java.lang.String related)
|
void |
renameCategoryImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String name,
boolean handlerRequired,
boolean groupHandlerAllowed)
|
void |
setCategoryRuleImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String prstatusId,
java.lang.String createType,
java.lang.String viewType,
java.lang.String modifyType,
java.lang.String handlerType,
java.lang.String deleteType)
Sets the rule for Caterory. |
void |
setCategoryTriggerImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String before,
java.lang.String insteadOf,
java.lang.String after,
java.lang.String updBefore,
java.lang.String updInsteadOf,
java.lang.String updAfter)
|
void |
setTemplateImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String template)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public BaseSecuredCategoryAdapter()
Method Detail |
public boolean init()
Adapter
init
in interface Adapter
public java.lang.String getDescription()
Adapter
getDescription
in interface Adapter
public void deleteCategoryImpl(SessionContext sc, java.lang.String categoryId) throws GranException
SecuredCategoryAdapter
deleteCategoryImpl
in interface SecuredCategoryAdapter
sc
- categoryId
-
GranException
public java.lang.String getTemplateImpl(SessionContext sc, java.lang.String categoryId) throws GranException
getTemplateImpl
in interface SecuredCategoryAdapter
GranException
public void setTemplateImpl(SessionContext sc, java.lang.String categoryId, java.lang.String template) throws GranException
setTemplateImpl
in interface SecuredCategoryAdapter
GranException
public void editCategoryImpl(SessionContext sc, java.lang.String categoryId, java.lang.String workflowId) throws GranException
SecuredCategoryAdapter
editCategoryImpl
in interface SecuredCategoryAdapter
sc
- categoryId
- workflowId
-
GranException
public void renameCategoryImpl(SessionContext sc, java.lang.String categoryId, java.lang.String name, boolean handlerRequired, boolean groupHandlerAllowed) throws GranException
renameCategoryImpl
in interface SecuredCategoryAdapter
GranException
public java.util.List getAvailableCategoryListImpl(SessionContext sc, java.lang.String taskId, java.util.List result) throws GranException
SecuredCategoryAdapter
getAvailableCategoryListImpl
in interface SecuredCategoryAdapter
sc
- taskId
- result
-
GranException
SecuredCategoryBean
public java.lang.String createCategoryImpl(SessionContext sc, java.lang.String taskId, java.lang.String name, java.lang.String workflowId, boolean handlerRequired, boolean groupHandlerAllowed, java.lang.String result) throws GranException
SecuredCategoryAdapter
createCategoryImpl
in interface SecuredCategoryAdapter
sc
- taskId
- name
- workflowId
- result
-
GranException
public java.util.List getChildrenCategoryListImpl(SessionContext sc, java.lang.String categoryId, java.lang.String taskId, java.util.List result) throws GranException
SecuredCategoryAdapter
getChildrenCategoryListImpl
in interface SecuredCategoryAdapter
sc
- categoryId
- result
-
GranException
SecuredCategoryBean
public java.util.List getCategoryRuleListImpl(SessionContext sc, java.lang.String prstatusId, java.lang.String categoryId, java.util.List result) throws GranException
SecuredCategoryAdapter
getCategoryRuleListImpl
in interface SecuredCategoryAdapter
sc
- prstatusId
- categoryId
- result
-
GranException
SecuredCategoryBean
public boolean canChangeWorkflowImpl(SessionContext sc, java.lang.String categoryId, boolean result) throws GranException
SecuredCategoryAdapter
canChangeWorkflowImpl
in interface SecuredCategoryAdapter
sc
- categoryId
- result
-
GranException
public void setCategoryRuleImpl(SessionContext sc, java.lang.String categoryId, java.lang.String prstatusId, java.lang.String createType, java.lang.String viewType, java.lang.String modifyType, java.lang.String handlerType, java.lang.String deleteType) throws GranException
SecuredCategoryAdapter
setCategoryRuleImpl
in interface SecuredCategoryAdapter
sc
- categoryId
- prstatusId
-
GranException
for type values
public void addRelatedCategoryImpl(SessionContext sc, java.lang.String parentCategoryId, java.lang.String related) throws GranException
addRelatedCategoryImpl
in interface SecuredCategoryAdapter
GranException
public void removeRelatedCategoryImpl(SessionContext sc, java.lang.String parentCategoryId, java.lang.String related) throws GranException
removeRelatedCategoryImpl
in interface SecuredCategoryAdapter
GranException
public java.util.List getCreatableCategoryListImpl(SessionContext sc, java.lang.String taskId, java.util.List result) throws GranException
SecuredCategoryAdapter
getCreatableCategoryListImpl
in interface SecuredCategoryAdapter
sc
- taskId
- result
-
GranException
SecuredCategoryBean
public boolean isCategoryEditableImpl(SessionContext sc, java.lang.String taskId, java.lang.String categoryId, boolean result) throws GranException
SecuredCategoryAdapter
isCategoryEditableImpl
in interface SecuredCategoryAdapter
sc
- categoryId
- taskId
- result
-
GranException
public boolean isCategoryDeletableImpl(SessionContext sc, java.lang.String taskId, java.lang.String categoryId, boolean result) throws GranException
SecuredCategoryAdapter
isCategoryDeletableImpl
in interface SecuredCategoryAdapter
sc
- categoryId
- taskId
- result
-
GranException
public boolean isCategoryViewableImpl(SessionContext sc, java.lang.String taskId, java.lang.String categoryId, boolean result) throws GranException
isCategoryViewableImpl
in interface SecuredCategoryAdapter
GranException
public boolean isCategoryCanBeHandlerImpl(SessionContext sc, java.lang.String taskId, java.lang.String categoryId, boolean result) throws GranException
isCategoryCanBeHandlerImpl
in interface SecuredCategoryAdapter
GranException
public void setCategoryTriggerImpl(SessionContext sc, java.lang.String categoryId, java.lang.String before, java.lang.String insteadOf, java.lang.String after, java.lang.String updBefore, java.lang.String updInsteadOf, java.lang.String updAfter) throws GranException
setCategoryTriggerImpl
in interface SecuredCategoryAdapter
GranException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |