Package anderix.otcs
Class OtcsNode
java.lang.Object
anderix.otcs.OtcsNode
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddownloadDocument(OtcsClient otcs, String localFilePath) longlonggetGuid()longgetId()longgetName()longlonglonggetPath()getPath(OtcsClient otcs) longlonggetType()booleanbooleanstatic OtcsNode[]parseOtcsNodesFromJson(String json) voidrebuildOtcsPath(OtcsClient otcs)
-
Constructor Details
-
OtcsNode
public OtcsNode() -
OtcsNode
- Throws:
MalformedURLExceptionIOException
-
-
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:
MalformedURLExceptionIOException
-
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:
MalformedURLExceptionIOException
-
downloadDocument
public void downloadDocument(OtcsClient otcs, String localFilePath) throws MalformedURLException, IOException - Throws:
MalformedURLExceptionIOException
-
parseOtcsNodesFromJson
public static OtcsNode[] parseOtcsNodesFromJson(String json) throws MalformedURLException, IOException - Throws:
MalformedURLExceptionIOException
-