|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.enterprise.templateutil.ActionValidator
Field Summary | |
protected static boolean |
VERBOSE
|
Constructor Summary | |
ActionValidator()
|
Method Summary | |
private static boolean |
canRevise(RevisionControlled object)
|
private static boolean |
hasSuccessor(Iterated iteration)
|
static boolean |
isCheckInValid(Object object)
Validates if the current user can checkin an object. |
static boolean |
isCheckOutValid(Object object)
Validates if the current user can checkout an object. |
static boolean |
isCopyValid(String type_id,
Object object)
Validates if the current user can perform a save as for a type. |
static boolean |
isCreateFromTemplateValid(String type_id,
Object object)
Validates if the current user can create from template for a type. |
static boolean |
isCreateTemplateValid(String type_id,
Object object)
Validates if the current user can create a template. |
static boolean |
isCreateValid(String type_id,
Object object)
Validates if the current user can create a type. |
static boolean |
isDeleteValid(Object object)
Validates if the current user can delete an object. |
private static boolean |
isNewInWorkspace(Object object)
|
static boolean |
isRenameValid(Object object)
Validates if the current user can rename an object. |
static boolean |
isReviseValid(Object object)
Validates if the current user can revise an object. |
static boolean |
isSaveAsValid(String type_id,
Object object)
Validates if the current user can perform a save as for a type. |
static boolean |
isSetStateValid(Object object)
Validates if the current user can set the state on an object. |
static boolean |
isUndoCheckOutValid(Object object)
Validates if the current user can perform and undo checkout. |
static boolean |
isUpdateValid(Object object)
Validates if the current user can update an object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static boolean VERBOSE
Constructor Detail |
public ActionValidator()
Method Detail |
public static boolean isCreateValid(String type_id, Object object)
type_id
- Persistable type identifier of the object to validate.object
- Container or Contained (i.e. Folder) object to validate in.
public static boolean isSaveAsValid(String type_id, Object object)
type_id
- Persistable type identifier of the object to validate.object
- Container or Contained (i.e. Folder) object to validate in.
public static boolean isCopyValid(String type_id, Object object)
type_id
- Persistable type identifier of the object to validate.object
- Container or Contained (i.e. Folder) object to validate in.
public static boolean isCreateFromTemplateValid(String type_id, Object object)
type_id
- Persistable type identifier of the object to validate.object
- Container or Contained (i.e. Folder) object to validate in.
public static boolean isCreateTemplateValid(String type_id, Object object)
object
- Container to validate in.
public static boolean isUpdateValid(Object object)
object
- Object instance to validate.
public static boolean isRenameValid(Object object)
object
- Object instance to validate.
public static boolean isCheckInValid(Object object)
object
- Object instance to validate.
public static boolean isCheckOutValid(Object object)
object
- Object instance to validate.
public static boolean isUndoCheckOutValid(Object object)
object
- Object instance to validate.
public static boolean isReviseValid(Object object)
object
- Object instance to validate.
public static boolean isDeleteValid(Object object)
object
- Object instance to validate.
public static boolean isSetStateValid(Object object)
object
- Object instance to validate.
private static boolean canRevise(RevisionControlled object) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static boolean hasSuccessor(Iterated iteration) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private static boolean isNewInWorkspace(Object object) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |