|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.portal.PortalFolder
public class PortalFolder
This class represents a folder associated with a PortalUser's profile, maintained in a Portal. Content created by users can be stored and organized within folders on their Portal. Folders can be at most one level deep and existing under the "root" folder. Only signed in users can view their folders and the contents within.
Constructor Summary | |
---|---|
PortalFolder(String folderId,
String title,
String username,
long created)
Instantiates an object of PortalFolder. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
static PortalFolder |
fromJson(org.codehaus.jackson.JsonParser parser)
Creates a PortalFolder from json. |
long |
getCreated()
Returns the created date of the folder as a long suitable for use with the Date.Date(long) constructor. |
String |
getFolderId()
Returns the folder's id. |
String |
getTitle()
Returns the folder's title. |
String |
getUsername()
Returns the owner of the folder. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PortalFolder(String folderId, String title, String username, long created)
folderId
- the id of the foldertitle
- the title of the folderusername
- the user created the folder.created
- returns true if the folder is created.Method Detail |
---|
public static PortalFolder fromJson(org.codehaus.jackson.JsonParser parser) throws Exception
parser
- the json to parse.
Exception
- if json string is not valid.public String getFolderId()
public String getTitle()
public String getUsername()
public long getCreated()
Date.Date(long)
constructor.
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |