|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.filesys.alfresco.DesktopTarget
public class DesktopTarget
Desktop Target Class
Contains the details of a target file/folder/node for a desktop action.
Field Summary | |
---|---|
static int |
TargetCopiedFile
|
static int |
TargetCopiedFolder
|
static int |
TargetFile
|
static int |
TargetFolder
|
static int |
TargetNodeRef
|
Constructor Summary | |
---|---|
DesktopTarget(int typ,
java.lang.String path)
class constructor |
Method Summary | |
---|---|
org.alfresco.service.cmr.repository.NodeRef |
getNode()
Return the associated node |
java.lang.String |
getTarget()
Return the target path/id |
java.lang.String |
getTypeAsString()
Return the target type as a string |
boolean |
hasNodeRef()
Check if the associated node is valid |
int |
isType()
Return the target type |
void |
setNode(org.alfresco.service.cmr.repository.NodeRef node)
Set the associated node |
java.lang.String |
toString()
Return the desktop target as a string |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TargetFile
public static final int TargetFolder
public static final int TargetCopiedFile
public static final int TargetCopiedFolder
public static final int TargetNodeRef
Constructor Detail |
---|
public DesktopTarget(int typ, java.lang.String path)
typ
- intpath
- StringMethod Detail |
---|
public final int isType()
public final java.lang.String getTarget()
public final boolean hasNodeRef()
public final org.alfresco.service.cmr.repository.NodeRef getNode()
public final java.lang.String getTypeAsString()
public final void setNode(org.alfresco.service.cmr.repository.NodeRef node)
node
- NodeRefpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |