Package anderix.otcs
Class OtcsNode
java.lang.Object
anderix.otcs.OtcsNode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
downloadDocument
(OtcsClient otcs, String localFilePath) long
long
getGuid()
long
getId()
long
getName()
long
long
long
getPath()
getPath
(OtcsClient otcs) long
long
getType()
boolean
boolean
static OtcsNode[]
parseOtcsNodesFromJson
(String json) void
rebuildOtcsPath
(OtcsClient otcs)
-
Constructor Details
-
OtcsNode
public OtcsNode() -
OtcsNode
- Throws:
MalformedURLException
IOException
-
-
Method Details
-
isContainer
public boolean isContainer() -
getContainerSize
public long getContainerSize() -
getCreateDate
-
getCreateUserId
public long getCreateUserId() -
getDescription
-
getGuid
-
getId
public long getId() -
getModifyDate
-
getModifyUserId
public long getModifyUserId() -
getName
-
getPath
-
getPath
- Throws:
MalformedURLException
IOException
-
getOwnerGroupId
public long getOwnerGroupId() -
getOwnerUserId
public long getOwnerUserId() -
getParentId
public long getParentId() -
isReserved
public boolean isReserved() -
getReservedDate
-
getReservedUserId
public long getReservedUserId() -
getType
public long getType() -
getTypeName
-
rebuildOtcsPath
- Throws:
MalformedURLException
IOException
-
downloadDocument
public void downloadDocument(OtcsClient otcs, String localFilePath) throws MalformedURLException, IOException - Throws:
MalformedURLException
IOException
-
parseOtcsNodesFromJson
public static OtcsNode[] parseOtcsNodesFromJson(String json) throws MalformedURLException, IOException - Throws:
MalformedURLException
IOException
-