This project has retired. For details please refer to its
Attic page.
TransientCmisObject xref
1/*2 * Licensed to the Apache Software Foundation (ASF) under one3 * or more contributor license agreements. See the NOTICE file4 * distributed with this work for additional information5 * regarding copyright ownership. The ASF licenses this file6 * to you under the Apache License, Version 2.0 (the7 * "License"); you may not use this file except in compliance8 * with the License. You may obtain a copy of the License at9 *10 * http://www.apache.org/licenses/LICENSE-2.011 *12 * Unless required by applicable law or agreed to in writing,13 * software distributed under the License is distributed on an14 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY15 * KIND, either express or implied. See the License for the16 * specific language governing permissions and limitations17 * under the License.18 */19package org.apache.chemistry.opencmis.client.api;
2021import java.util.List;
2223import org.apache.chemistry.opencmis.commons.data.Acl;
24import org.apache.chemistry.opencmis.commons.data.AllowableActions;
25import org.apache.chemistry.opencmis.commons.data.CmisExtensionElement;
26import org.apache.chemistry.opencmis.commons.enums.AclPropagation;
27import org.apache.chemistry.opencmis.commons.enums.ExtensionLevel;
2829publicinterfaceTransientCmisObjectextends ObjectId, CmisObjectProperties {
3031// properties3233void setName(String name);
3435 <T> void setPropertyValue(String id, Object value);
3637// read-only3839 AllowableActions getAllowableActions();
4041 List<Relationship> getRelationships();
4243 List<Rendition> getRenditions();
4445// ACL4647void addAce(String principalId, List<String> permissions, AclPropagation aclPropagation);
4849void removeAce(String principalId, List<String> permissions, AclPropagation aclPropagation);
5051 Acl getOriginalAcl();
5253// policies5455void applyPolicy(Policy... policyIds);
5657void removePolicy(Policy... policyIds);
5859 List<Policy> getPolicies();
6061// delete6263void delete(boolean allVersions);
6465// extensions6667 List<CmisExtensionElement> getInputExtensions(ExtensionLevel level);
6869 List<CmisExtensionElement> getOutputExtensions(ExtensionLevel level);
7071void setOutputExtensions(ExtensionLevel level, List<CmisExtensionElement> extensions);
7273// save7475boolean isMarkedForDelete();
7677boolean isModified();
7879void reset();
8081void refreshAndReset();
8283ObjectId save();
8485// shared object8687CmisObject getCmisObject();
88 }