Package org.alfresco.utility.dsl
Interface DSLContentModelAction<Protocol>
-
public interface DSLContentModelAction<Protocol>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProtocolcopyTo(ContentModel destination)Copy last resource content to destination.Protocoldelete()ProtocolmoveTo(ContentModel destination)Move last resource content to destination.Protocolrename(java.lang.String newName)Protocolupdate(java.lang.String content)
-
-
-
Method Detail
-
rename
Protocol rename(java.lang.String newName) throws java.lang.Exception
- Throws:
java.lang.Exception
-
update
Protocol update(java.lang.String content) throws java.lang.Exception
- Throws:
java.lang.Exception
-
delete
Protocol delete() throws java.lang.Exception
- Throws:
java.lang.Exception
-
copyTo
Protocol copyTo(ContentModel destination) throws java.lang.Exception
Copy last resource content to destination. The content to be copied will be set as last resource in the new location.- Throws:
java.lang.Exception
-
moveTo
Protocol moveTo(ContentModel destination) throws java.lang.Exception
Move last resource content to destination. The content to be moved will be set as last resource in the new location.- Throws:
java.lang.Exception
-
-