|
||||||||||
| 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,
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 chainResult)
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 |
boolean |
init()
Initialize adapter. |
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. |
void |
removeRelatedCategoryImpl(SessionContext sc,
java.lang.String parentCategoryId,
java.lang.String related)
|
void |
renameCategoryImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String name)
|
void |
resetCreatableCategoryRuleImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String prstatusId)
Set, that Users with some Prstatus can't create Tasks of some Category. |
void |
resetDeletableCategoryRuleImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String prstatusId)
Set, that Users with some Prstatus can't delete Tasks of some Category. |
void |
resetEditableCategoryRuleImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String prstatusId)
Sets, that Users with some Prstatus (group) can't edit Tasks of some Category. |
java.lang.String |
setCategoryRuleImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String prstatusId,
java.lang.String type,
java.lang.String result)
Sets the rule for Caterory. |
| 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 Adapterpublic java.lang.String getDescription()
Adapter
getDescription in interface Adapter
public void deleteCategoryImpl(SessionContext sc,
java.lang.String categoryId)
throws GranException
SecuredCategoryAdapter
deleteCategoryImpl in interface SecuredCategoryAdaptersc - categoryId -
GranException
public void editCategoryImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String workflowId)
throws GranException
SecuredCategoryAdapter
editCategoryImpl in interface SecuredCategoryAdaptersc - categoryId - workflowId -
GranException
public void renameCategoryImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String name)
throws GranException
renameCategoryImpl in interface SecuredCategoryAdapterGranException
public java.util.List getAvailableCategoryListImpl(SessionContext sc,
java.lang.String taskId,
java.util.List chainResult)
throws GranException
SecuredCategoryAdapter
getAvailableCategoryListImpl in interface SecuredCategoryAdaptersc - taskId - chainResult -
GranExceptionSecuredCategoryBean
public java.lang.String createCategoryImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String name,
java.lang.String workflowId,
java.lang.String result)
throws GranException
SecuredCategoryAdapter
createCategoryImpl in interface SecuredCategoryAdaptersc - 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 SecuredCategoryAdaptersc - categoryId - result -
GranExceptionSecuredCategoryBean
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 SecuredCategoryAdaptersc - prstatusId - categoryId - result -
GranExceptionSecuredCategoryBean
public boolean canChangeWorkflowImpl(SessionContext sc,
java.lang.String categoryId,
boolean result)
throws GranException
SecuredCategoryAdapter
canChangeWorkflowImpl in interface SecuredCategoryAdaptersc - categoryId - result -
GranException
public java.lang.String setCategoryRuleImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String prstatusId,
java.lang.String type,
java.lang.String result)
throws GranException
SecuredCategoryAdapter
setCategoryRuleImpl in interface SecuredCategoryAdaptersc - categoryId - prstatusId - type - who can actionresult -
GranExceptionfor type values
public void resetEditableCategoryRuleImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String prstatusId)
throws GranException
SecuredCategoryAdapter
resetEditableCategoryRuleImpl in interface SecuredCategoryAdaptersc - categoryId - prstatusId -
GranException
public void resetCreatableCategoryRuleImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String prstatusId)
throws GranException
SecuredCategoryAdapter
resetCreatableCategoryRuleImpl in interface SecuredCategoryAdaptersc - categoryId - prstatusId -
GranException
public void resetDeletableCategoryRuleImpl(SessionContext sc,
java.lang.String categoryId,
java.lang.String prstatusId)
throws GranException
SecuredCategoryAdapter
resetDeletableCategoryRuleImpl in interface SecuredCategoryAdaptersc - categoryId - prstatusId -
GranException
public void addRelatedCategoryImpl(SessionContext sc,
java.lang.String parentCategoryId,
java.lang.String related)
throws GranException
addRelatedCategoryImpl in interface SecuredCategoryAdapterGranException
public void removeRelatedCategoryImpl(SessionContext sc,
java.lang.String parentCategoryId,
java.lang.String related)
throws GranException
removeRelatedCategoryImpl in interface SecuredCategoryAdapterGranException
public java.util.List getCreatableCategoryListImpl(SessionContext sc,
java.lang.String taskId,
java.util.List result)
throws GranException
SecuredCategoryAdapter
getCreatableCategoryListImpl in interface SecuredCategoryAdaptersc - taskId - result -
GranExceptionSecuredCategoryBean
public boolean isCategoryEditableImpl(SessionContext sc,
java.lang.String taskId,
java.lang.String categoryId,
boolean result)
throws GranException
SecuredCategoryAdapter
isCategoryEditableImpl in interface SecuredCategoryAdaptersc - 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 SecuredCategoryAdaptersc - categoryId - taskId - result -
GranException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||