Property | Type | Description | |
---|---|---|---|
GetMetaData | void | ||
SortFolders | List |
Method | Description | |
---|---|---|
DeleteAll ( ) : bool |
Deletes the specified content and its related file.
|
|
EditModel ( ) : System |
Default constructor. Creates a new model.
|
|
EditModel ( bool isfolder, System.Guid parentid ) : System |
Default constructor. Creates a new model.
|
|
GetById ( System.Guid id ) : |
Gets the edit model for the content with the given id.
|
|
Refresh ( ) : void |
Refreshes the current object.
|
|
SaveAll ( bool draft ) : bool |
Saves the edit model.
|
|
Sync ( string url = "" ) : bool |
Syncronizes the media object from the original url.
|
Method | Description | |
---|---|---|
GetMetaData ( ) : void | ||
SortFolders ( List |
Flattens the folder structure.
|
public EditModel ( bool isfolder, System.Guid parentid ) : System | ||
isfolder | bool | Whether this is a folder or not. |
parentid | System.Guid | |
return | System |
public static GetById ( System.Guid id ) : |
||
id | System.Guid | The content id |
return |